package com.ihr360.excel.vo;

import com.ihr360.excel.entity.CorrectSpreadsheetRowEntity;
import com.ihr360.excel.entity.SpreadsheetJournalEntity;

import java.io.Serializable;
import java.util.List;

/**
 * 获取导入结果
 *
 * @author richey
 */
public class ImportResult implements Serializable {

    private List<CorrectSpreadsheetRowEntity> correctDatas;

    private List<SpreadsheetJournalEntity> rowLogs;

    //是否有错误文件（只包含错误数据）
    private boolean hasErrorFile = false;

    //是否有注释文件（包含所有数据）
    private boolean hasCommentFile = false;

    private byte[] convertResult;

    private List<String> dateHeaders;


    public List<CorrectSpreadsheetRowEntity> getCorrectDatas() {
        return correctDatas;
    }

    public void setCorrectDatas(List<CorrectSpreadsheetRowEntity> correctDatas) {
        this.correctDatas = correctDatas;
    }

    public List<SpreadsheetJournalEntity> getRowLogs() {
        return rowLogs;
    }

    public void setRowLogs(List<SpreadsheetJournalEntity> rowLogs) {
        this.rowLogs = rowLogs;
    }

    public byte[] getConvertResult() {
        return convertResult;
    }

    public void setConvertResult(byte[] convertResult) {
        this.convertResult = convertResult;
    }

    public boolean isHasErrorFile() {
        return hasErrorFile;
    }

    public void setHasErrorFile(boolean hasErrorFile) {
        this.hasErrorFile = hasErrorFile;
    }

    public boolean isHasCommentFile() {
        return hasCommentFile;
    }

    public void setHasCommentFile(boolean hasCommentFile) {
        this.hasCommentFile = hasCommentFile;
    }

    public List<String> getDateHeaders() {
        return dateHeaders;
    }

    public void setDateHeaders(List<String> dateHeaders) {
        this.dateHeaders = dateHeaders;
    }


}
